/*
 * @Author: wrngygy
 * @Date: 2025-07-01
 * @Description: 认证相关路由配置
 */

import type { AppRouteRecordRaw } from '../types'

// 认证路由（登录、注册等）
export const authRoutes: AppRouteRecordRaw[] = [
	{
		path: '/login',
		name: 'Login',
		component: () => import('@/views/login/Login.vue'),
		meta: {
			title: '登录',
			requiresAuth: false,
			hidden: true,
		},
	},
	{
		path: '/wxlogin',
		name: 'WXlogin',
		component: () => import('@/views/login/WXlogin.vue'),
		meta: {
			title: '微信快捷登录',
			requiresAuth: false,
			hidden: true,
		},
	},
	{
		path: '/smslogin',
		name: 'SMSlogin',
		component: () => import('@/views/login/SMSlogin.vue'),
		meta: {
			title: '手机号登录',
			requiresAuth: false,
			hidden: true,
		},
	},
	{
		path: '/register',
		name: 'Register',
		component: () => import('@/views/login/Register.vue'),
		meta: {
			title: '注册',
			requiresAuth: false,
			hidden: true,
		},
	},
]
